package com.zhiyou.test;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class Test {
	public static void main(String[] args) {
		String str="asdsa11";
		/*String reg="^-?\\\\d$";
		System.out.println(reg.matches(str));*/
		
		Pattern pattern = Pattern.compile("[0-9]+");
		Matcher isNum = pattern.matcher(str);
		if( !isNum.matches() ){
			System.out.println("no");
			}else {				
				System.out.println("yes");
			}
			
	}
}
